package com.mezz.bones.im.logic.domain.request;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel("群组创建请求")
public class ApiGroupInfoCreateRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "群号")
    private String groupNo;

    @ApiModelProperty(value = "群组名称")
    @NotBlank(message = "群组名称不能为空")
    private String groupName;

    @ApiModelProperty(value = "群组描述")
    private String description;

    @ApiModelProperty(value = "群头像URL")
    private String avatarUrl;

    @ApiModelProperty("操作者ID")
    @JsonIgnore
    private String operatorId;

    @ApiModelProperty("操作者名称")
    @JsonIgnore
    private String operatorName;

}
